#! /bin/bash
from lesson2.msg import Person


import rospy
def doMsg(p):
    rospy.loginfo("%s,%d,%.2f",p.name,p.age,p.height)
    
rospy.init_node("sub_person")
sub=rospy.Subscriber("che",Person,doMsg)
rospy.spin()
